/*
 * ConversionBO.java
 *
 * Created on March 23, 2007, 5:59 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.group1E.data;

/**
 * Contains information for Discount
 * @author kckern
 */
public class DiscountBO extends BusinessObject{


    private int quantity;
    private double percent;
    private String ConvSerId;
    
    
    /**
     * Creates a new instance of ConversionBO
     * @param id contains the id
     */
    public DiscountBO(String id) {
        
        setId(id);
    }


    /**
     * Gets the quantity
     * @return the quantity
     */
    public int getQuantity() {
        return quantity;
    }

    /**
     * Sets the quantity
     * @param quantity contains the quantity
     */
    public void setQuantity(int quantity) {
        this.quantity = quantity; soil();
    }

    /**
     * gets the percent discount
     * @return the discount percent
     */
    public double getPercent() {
        return percent;
    }

    /**
     * set the discount percent
     * @param percent contains the percentage
     */
    public void setPercent(double percent) {
        this.percent = percent; soil();
    }

    /**
     * gets the conversion service id
     * @return the conversion service ID
     */
    public String getConvSerId() {
        return ConvSerId;
    }

    /**
     * sets the conversion service id
     * @param ConvSerId contains the conversion service id
     */
    public void setConvSerId(String ConvSerId) {
        this.ConvSerId = ConvSerId; soil();
    }
    
}
